.root {
  width: 100vw;
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(./bg.jpeg);
  background-repeat: no-repeat;
  background-size: cover;

  &::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;

    z-index: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px) brightness(1.4);
  }
}

.body {
  min-width: 400px;
  max-height: calc(95vh - 15px);
  max-width: 90vw;
  border: 1px solid var(--vd-color-border);
  border-radius: 8px;
  background-color: white;
  backdrop-filter: blur(3px);
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.head {
  height: 36px;
  border-bottom: 1px solid var(--vd-color-border);
  display: flex;
  align-items: center;
  padding: 0 var(--vd-spacing-xs);
  line-height: 1;

  .logo {
    font-size: 30px;
    height: 30px;
    margin-right: var(--vd-spacing-xs);
    line-height: 1;
  }

  .title {
    color: var(--vd-color-gray-700);
  }
}

.content {
  padding: 20px 40px 40px;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
}

.h1 {
  margin: var(--vd-spacing-sm) 0;
  background: linear-gradient(135deg, var(--vd-color-primary-100), var(--vd-color-primary));
  -webkit-background-clip: text;
  color: transparent;
}

.footer {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  font-size: 12px;
  transform: translateX(-50%) scale(0.9);
  white-space: nowrap;
  color: var(--vd-color-gray-600);
}

@media screen and (max-width: 768px) {
  .body {
    min-width: 0;
    width: 100%;
    height: 100%;
  }

  .content {
    padding: 20px;
  }
}
